package com.czh.subject.infra.basic.es;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * elasticsearch 读取集群配置类
 * @author caozaihui
 * @version 1.0
 * @since 2024/9/9 21:09
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "es.cluster")
public class EsConfigProperties {

    private List<EsClusterConfig> esClusterConfigList = new ArrayList<>();
}
